package com.javasm.aftersales;

import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * @author:Dai
 * @className:RepairService
 * @description:
 * @date:2022/9/23 10:40
 * @version: 1.0
 * @since: jdk11
 */
public interface RepairService {
    List<Repair> selectAll(Repair repair);
    Integer insertRep(Repair repair);
    Integer updateRep(Repair repair);
    Integer deleteRep(Integer id);
    Integer deleteReps(@Param("id")List<Integer> id);
    List <Repair> getList(Repair repair);
    Collection<RepairType> getTree();

}
